import { HTTPP} from '../util/http-p.js'

class XinHua extends HTTPP{
  getData(word){
      return this.request({
        url:'xinhua',
        data:{
          word: word
        },
      })
    }

  getIdiom (word) {
    return this.request({
      url: 'xinhua',
      data: {
        word: word
      }
    })
  }
}

export  { XinHua }